#ifndef _LINKQUEUE_H
#define _LINKQUEUE_H

#include "DoubleLinkList.h"
class LinkQueue
{
public:
    using ElementType = DoubleLinkList::ElementType;
    LinkQueue(){};
    ~LinkQueue(){};

    //入队列

    void Push(const ElementType& element);

    //出队列
    void Pop();

    //取队头元素
    ElementType* GetFront(); 
    bool IsEmpty();
    size_t Size(){ return list.Size();}
    
private:
    DoubleLinkList list;
};

#endif
